

/****** Object:  StoredProcedure [dbo].[web_upd_aparat_velav]    Script Date: 10/19/2013 09:20:36 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

IF EXISTS (SELECT * FROM sys.objects WHERE type = 'P' AND name = 'web_upd_aparat_velav')
DROP PROCEDURE web_upd_aparat_velav
GO

-- =============================================
-- Author:		<Author,,Name>
-- Create date: <Create Date,,>
-- Description:	<Description,,>
-- =============================================
CREATE PROCEDURE [dbo].[web_upd_aparat_velav]
	@aparatoid int,
	@hours int
AS
BEGIN
	SET NOCOUNT ON

	update Aparatai set velavimas = @hours  where AparatoID = @aparatoid;
END

GO

